import request from '@/utils/request';

export async function queryEvaluate(params) {
  return request('/api/Evaluate', {
    params,
  });
}
export async function removeEvaluate(params) {
  return request('/api/Evaluate', {
    method: 'POST',
    data: { ...params, method: 'delete' },
  });
}
export async function addEvaluate(params) {
  return request('/api/Evaluate', {
    method: 'POST',
    data: { ...params, method: 'post' },
  });
}
export async function updateEvaluate(params) {
  return request('/api/Evaluate', {
    method: 'POST',
    data: { ...params, method: 'update' },
  });
}
